import 'package:built_collection/built_collection.dart';
import 'package:equatable/equatable.dart';
import 'package:flutter/cupertino.dart' hide ReorderableList;
import 'package:flutter/material.dart' hide ReorderableList;
import 'package:flutter_reorderable_list/flutter_reorderable_list.dart';
import 'package:mobile_app.core/collection_navigator/application/models/single_custom_collection_folder_page_model.dart';
import 'package:mobile_app.core/core/presentation/helpers/show_dialogs.dart';
import 'package:mobile_app.core/core/presentation/localization/translation.dart';
import 'package:mobile_app.core/core/presentation/theme/theme.dart';
import 'package:mobile_app.core/core/presentation/utils/icons/custom_light_icons.dart';
import 'package:mobile_app.core/core/presentation/utils/icons/custom_regular_icons.dart';
import 'package:mobile_app.core/core/presentation/utils/screen_util.dart';
import 'package:mobile_app.core/core/presentation/widget_config.dart';
import 'package:mobile_app.core/core/presentation/widgets/app_back_button.dart';
import 'package:mobile_app.core/core/presentation/widgets/dialogs/app_action_dialog.dart';
import 'package:mobile_app.core/core/presentation/widgets/extended_list_view.dart';
import 'package:mobile_app.core/core/presentation/widgets/navigation_bar_text_button.dart';
import 'package:mobile_app.core/core/presentation/widgets/navigation_bar_title.dart';
import 'package:mobile_app.core/core/presentation/widgets/page_tile_horizontal_padding.dart';
import 'package:mobile_app.core/core/presentation/widgets/platform_divider.dart';
import 'package:mobile_app.core/core/presentation/widgets/platform_keyboard_placeholder.dart';
import 'package:mobile_app.core/core/presentation/widgets/stateful_wloc.dart';
import 'package:mobile_app.core/core/presentation/widgets/tiles/action_tile.dart';
import 'package:mobile_app.core/core/presentation/widgets/tiles/pressable_text_tile.dart';
import 'package:mobile_app.core/core/presentation/widgets/tiles/tile_gap.dart';
import 'package:mobile_app.core/core/presentation/widgets/tiles/tile_group.dart';
import 'package:mobile_app.core/core/presentation/widgets/tiles/tile_navigation_indicator.dart';
import 'package:mobile_app.core/core/presentation/widgets/tiles/tile_rounder.dart';
import 'package:mobile_app.core/core/presentation/widgets/tiles/tile_trailing_check.dart';
import 'package:mobile_app.core/core/presentation/widgets/tiles/unpressable_text_tile.dart';
import 'package:mobile_app.core/core/presentation/widgets/wloc_builder.dart';
import 'package:mobile_app.core/injection_container.dart' as core_di;
import 'package:mobile_app.home.collections/single_custom_collection_folder_page/application/bloc/bloc.dart'
    as bloc;
import 'package:mobile_app.home.collections/single_custom_collection_folder_page/domain/entities/collection_deletion_mode.dart';
import 'package:mobile_app.home.collections/single_custom_collection_folder_page/domain/entities/collection_folder_deletion_mode.dart';
import 'package:mobile_app.home.collections/single_custom_collection_folder_page/injection_container.dart'
    as single_custom_collection_folder_page_di;
import 'package:mobile_app.home.collections/single_custom_collection_folder_page/presentation/localization/translation.dart';
import 'package:mobile_app.home.collections.core/core/presentation/localization/translation.dart';
import 'package:mobile_app.home.collections.core/core/presentation/theme/theme.dart';
import 'package:mobile_app.home.collections.core/core/presentation/widgets/collection_list_item_keyboard_text_field.dart';
import 'package:mobile_app.home.core/core/presentation/localization/translation.dart';

part 'models/collection_creation_collection_model.dart';

part 'models/collection_deletion_collection_model.dart';

part 'models/collection_folder_renaming_collection_folder_model.dart';

part 'models/collection_folder_renaming_collection_model.dart';

part 'models/collection_reordering_collection_model.dart';

part 'models/default_state_collection_folder_model.dart';

part 'models/default_state_collection_model.dart';

part 'view.dart';

part 'wloc.dart';

part 'wloc_state.dart';

part 'wloc_state_factory.dart';

class SingleCustomCollectionFolderPage extends StatefulWidget {
  const SingleCustomCollectionFolderPage({
    required this.pageModel,
    super.key,
  });

  final SingleCustomCollectionFolderPageModel pageModel;

  @override
  State<SingleCustomCollectionFolderPage> createState() => _SingleCustomCollectionFolderPageWloc();
}
